package com.kgcx.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.kgcx.system.domain.SysEmployeeRole;

public interface SysEmployeeRoleMapper {
    int deleteByPrimaryKey(Integer kid);

    int insert(SysEmployeeRole record);

    SysEmployeeRole selectByPrimaryKey(Integer kid);

    public List<SysEmployeeRole> selectByEmployeeId(@Param("employeeId")Long employeeId);

    int updateByPrimaryKeySelective(SysEmployeeRole record);

    public void deleteByEmployeeId(@Param("employeeId")Long employeeId);

    public void deleteByRoleId(@Param("roleId")Long roleId);

}
